getEffectSource

abstract fun getEffectSource(effectBlock: DesignBlock): DesignBlock?

Get the block that an effect block reads. Experimental: this API may change in a minor release.

Return

the source block, or null when the effect has no source.

Parameters

effectBlock

the effect block to query. Only the displacement map effect reads a source.